import index from "./views/index.vue";
import error from "./views/error";
import load_web_view from './views/load_web_view'
import LoginView from "./views/login/LoginView"
import LogoutView from "./views/login/LogoutView"
import GameOverView from "./views/game/GameOverView"
import BattleView from './views/battle/BattleView.vue'
const routes = [
  {
    path: '/index',
    name: 'index',
    component: index,
    launchMode: 'clearTask',
  },
  {
    path: '/error',
    name: 'error',
    component: error,
    launchMode: 'standard',
  },
  {
    path: '/load_web_view',
    name: 'load_web_view',
    component: load_web_view,
    launchMode: 'standard',
  },
  {
    path: '/login_view',
    name: 'login_view',
    component: LoginView,
    launchMode: 'standard',
    type: 1
  },
  {
    path: '/logout_view',
    name: 'logout_view',
    component: LogoutView,
    launchMode: 'standard',
    type: 1
  },
  {
    path: '/game_over_view',
    name: 'game_over_view',
    component: GameOverView,
    launchMode: 'standard',
    type: 1
  },
  {
    path: '/battle_view',
    name: 'battle_view',
    component: BattleView,
    launchMode: 'standard',
    type: 1
  }
]

export default routes

